﻿<UserControl x:Class="WPLDB.Package.UI.View.FooterToolbarView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"             
             mc:Ignorable="d" 
             d:DesignHeight="50" d:DesignWidth="450">
    <Grid>
        <!--Page Resources-->
        <Grid.Resources>
            <Style TargetType="Button" x:Key="FooterButtonStyle">
                <Setter Property="Margin" Value="5,0"></Setter>
                <Setter Property="Width" Value="100"></Setter>
                <Setter Property="Height" Value="30"></Setter>
            </Style>
        </Grid.Resources>
        <!--Page Elements-->
        <Grid.RowDefinitions>
            <RowDefinition Height="3"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <!--This text box is used for achieve white line between the ChooseView [Center View] and FooterView -->
        <TextBlock Background="White" Grid.Row="0"></TextBlock>
        
        <!--Button Controls-->
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"  Margin="0,0,10,0" Grid.Row="1">
            <Button Content="&lt; _Previous" Command="{Binding PreviousCommand}" Style="{StaticResource FooterButtonStyle}"></Button>
            <Button Content=" _Next &gt;" Command="{Binding NextCommand}" Style="{StaticResource FooterButtonStyle}"></Button>
            <Button Content="_Finish" Command="{Binding FinishCommand}" Style="{StaticResource FooterButtonStyle}"></Button>
            <Button Content="Cancel" Command="{Binding CancelCommand}" Style="{StaticResource FooterButtonStyle}"></Button>
        </StackPanel>

    </Grid>
</UserControl>
